<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>复刻-phone</title>
		<meta content="yes" name="apple-mobile-web-app-capable"> <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
		<link rel="stylesheet" href="css/index.css">
	</head>

	<body>
		<div class="web" id="web">
			<div class="login" id="login">
				<div class="title">
					<span class="text">登錄</span>
					<span class="close" id="close"><img src="img/close.png"/></span>
				</div>
				<form action="" method="post" id="form1">
					<div class="username">
						<span class="people"><img src="img/people.png"></span>
						<input type="text" id="username" placeholder="手機/郵箱/昵稱">
					</div>
					<div class="password">
						<span class="suo"><img src="img/suo.png"></span>
						<input type="text" id="password" class="" placeholder="密碼"> 
					</div>
					<div class="code">
						<span class="text-code"><img src="img/code.png"></span>
						<input type="text" id="code" class="" placeholder="驗證碼"> 
					</div>
					<div class="denglu">
						<input type="submit" id="submit" class="" value="登錄"> 
					</div>
					<span class="other">
							其他賬號登入:
					</span>
					<span class="zhuce" id="gonote">
							去注冊
					</span>
				</form>
			</div>
			<div class="note" id="note">
				<div class="title">
					<span class="text">注冊</span>
					<span class="close" id="close2"><img src="img/close.png"/></span>
				</div>
				<form action="" method="post" id="form2">
					<div class="username">
						<span class="people"><img src="img/people.png"></span>
						<input type="text" id="name" placeholder="手機/郵箱/昵稱">
					</div>
					<div class="username-tip">
						長度3~32個字符,包括字母、數字、下底線、@
					</div>
					
					<div class="password">
						<span class="suo"><img src="img/suo.png"></span>
						<input type="text" id="key"  placeholder="密碼"> 
					</div>
					<div class="password-tip">
						6~20個字符,包括字母、數字
					</div>
					<div class="password2">
						<span class="suo"><img src="img/suo.png"></span>
						<input type="text" id="key2" placeholder="密碼"> 
					</div>
					<div class="password-tip2">
						再次輸入密碼
					</div>
					<div class="email">
						<span class="text-code"><img src="img/code.png"></span>
						<input type="email" id="email" placeholder="電子信箱"> 
					</div>
					<div class="email-tip">
						密碼遺忘或被盜時,可以通過此信箱取回密碼,請認真填寫
					</div>
					<div class="denglu">
						<input type="submit" id="zhuce" class="" value="注冊"> 
					</div>
					<span class="other" id="gologin">
							已有賬號<a>去登錄</a>
							
					</span>
				</form>
			</div>
			<div class="all" id="all">
				<div class="bg" id="bg">
					<img src="img/bg.png">
				</div>
				<div class="apple">
					<a href="#"></a>
				</div>
				<div class="google">
					<a href=""></a>
				</div>
				<div class="apk">
					<a href=""></a>
				</div>
				<div class="fb">
					<a href=""></a>
				</div>
				<div class="activity-time">
					<p>活動時間：X月X日-X月X日</p>
				</div>
				<div class="activity1">
					<p>已完成任務<span>100人</span></p>
				</div>
				<div class="activity2">
					<p>已完成任務<span>100人</span></p>
				</div>
				<div class="activity3">
					<p>已完成任務<span>100人</span></p>
				</div>
				<div class="clickloginin" id="login_in">
					<p>我要登入</p>
				</div>
				<form action="" id="form">
					<div class="select">
						<select name="server" id="server">
							<option value="volvo" selected>選擇伺服器</option>
							<option value="saab">1</option>
							<option value="opel">2</option>
							<option value="audi">3</option>
						</select>
					</div>
					<div class="select2">
						<select name="server" id="role">
							<option value="volvo" selected>選擇角色</option>
							<option value="saab">1</option>
							<option value="opel">2</option>
							<option value="audi">3</option>
						</select>
					</div>
				</form>
			</div>
		</div>

		<script>
			document.body.style.height = window.innerHeight + "px";

			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>
		<script src="js/index.js"></script>
	</body>

</html>